package cn.edu.neu.service;
import cn.edu.neu.model.Category;
import com.github.pagehelper.PageInfo;

import java.util.List;


public interface CategoryService {

	
	//商品分类列表
	public PageInfo<Category> findCateList(Integer page, Integer count);
	//一级分类
	public List<Category> findParentCateList();
	//创建分类
	public int createCategory(Category cate);
	//通过id获取商品分类信息
	public Category getCateById(Integer id);
	//更新商品分类
	public int updateCate(Category category);
	
	//删除商品分类信息
	public int deleteCate(Integer cate_id);

	public List<Category> findAllCategory();

}
